package com.zeng.jiudian.dao;

import com.zeng.jiudian.bean.OnlineModel;

import java.util.List;

/**
 * @Author JJ_yo
 * @Date 2020/7/30 - 17:48
 */
public interface OnlineDao
{
    public int add(OnlineModel onlineModel);

    public List<OnlineModel> findAll(OnlineModel onlineModel);

    public int getCount(OnlineModel onlineModel);

    public int delete(int id);

    public OnlineModel findById(int id);

    public int update(OnlineModel onlineModel);
}
